From: Marco Trevisan (TreviƱo) Date: Thu, 10 Oct 2019 00:14:28 +0000 (+0200) Subject: js: Replace Tweener time leftovers with ease duration X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~805^2^2~5 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=279024afc2312111c093e6300dbb585a1e08077f;p=gnome-shell.git js: Replace Tweener time leftovers with ease duration In some places we were not properly animating the actors as still using the non-existent 'time' property instead of 'duration' https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/758 --- diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js index 9147d4c02..cc946f01c 100644 --- a/js/ui/appDisplay.js +++ b/js/ui/appDisplay.js @@ -2233,7 +2233,7 @@ var AppIcon = class AppIcon { this.actor.ease({ scale_x: 1, scale_y: 1, - time: APP_ICON_SCALE_IN_TIME, + duration: APP_ICON_SCALE_IN_TIME, delay: APP_ICON_SCALE_IN_DELAY, mode: Clutter.AnimationMode.EASE_OUT_QUINT }); diff --git a/js/ui/dash.js b/js/ui/dash.js index 5751afee0..0f99b9c88 100644 --- a/js/ui/dash.js +++ b/js/ui/dash.js @@ -623,7 +623,7 @@ var Dash = class Dash { icon.icon.ease({ width: targetWidth, height: targetHeight, - time: DASH_ANIMATION_TIME, + duration: DASH_ANIMATION_TIME, mode: Clutter.AnimationMode.EASE_OUT_QUAD }); } diff --git a/js/ui/lookingGlass.js b/js/ui/lookingGlass.js index e2bb8cc27..35b47b036 100644 --- a/js/ui/lookingGlass.js +++ b/js/ui/lookingGlass.js @@ -428,7 +428,7 @@ var ObjInspector = class ObjInspector { scale_x: 1, scale_y: 1, mode: Clutter.AnimationMode.EASE_OUT_QUAD, - time: 200 + duration: 200 }); } else { this.actor.set_scale(1, 1);